Post With Code

gis
Author

Dave Crawford

Published

February 27, 2025

This is a post with executable code. This is some updated text.

Code
import arcgis
gis = arcgis.GIS()
m = gis.map('San Francisco, CA')
m

Now add a layer

Now we will add a layer of wildfires. This is available in the ArcGIS Living Atlas

Code
lyr = gis.content.get('d957997ccee7408287a963600a77f61f').layers[0]
m.content.add(lyr)